package com.zhuzhumail.dao;

import com.zhuzhumail.entity.KqClockLogEntityVo;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface KqClockLogDao {
    /**
     * 查询这个员工今天进行考勤没有，判断这个员工是不是要进行
     * @param EmployeeId
     * @return
     */
    Integer   findKqClockLogBYEmployeeId(@Param("employeeId") Long EmployeeId);
    KqClockLogEntityVo findKqClockLogBYEmployeeIdAndAttendanceDateORDERByCreateTimeAsc(@Param("employeeId")Long employeeId, @Param("attendancedate") Date attendance_date);
    /**
     * 查询下班打卡
     */
    KqClockLogEntityVo  findKqClockLogBYEmployeeIdAndAttendanceDateORDERByCreateTimeDESC(@Param("employeeId")Long employeeId, @Param("attendancedate") Date attendance_date);
}
